package com.example.demo.entity;

import java.util.Date;
import java.io.Serializable;

/**
 * <p>
 * 车险订单表
 * </p>
 *
 * @author xie.m
 * @since 2018-10-19
 */
public class AutoOrderInfo implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 主键
     */
    private String id;
    /**
     * 订单号
     */
    private String orderNo;
    /**
     * 销售渠道
     */
    private String sourceCode;
    /**
     * 外部渠道唯一业务号
     */
    private String sourceOrderNo;
    /**
     * 产品代码
     */
    private String majorProductCode;
    /**
     * 用户id，关联user_info.user_id
     */
    private String userId;
    /**
     * 代理人id，关联agent_info.agent_id
     */
    private String agentId;
    /**
     * 保险公司id，关联insurance_tbl.insurance_id
     */
    private String insuranceCode;
    /**
     * 保险公司业务号
     */
    private String insuranceBizNo;
    /**
     * 车辆ID，关联auto_info.auto_id
     */
    private String autoId;
    private String plateNo;
    /**
     * 车架号
     */
    private String vin;
    /**
     * 发动机号
     */
    private String engineNo;
    private Long vehiclePrince;
    /**
     * 投保地区
     */
    private String cityCode;
    /**
     * 订单状态
     */
    private String status;
    /**
     * 订单创建时间
     */
    private Date orderCreatedTime;
    /**
     * 订单提交时间
     */
    private Date orderCommitTime;
    /**
     * 订单总金额
     */
    private Long totalAmount;
    /**
     * 是否分期（Y/N）
     */
    private String divideFlag;
    private String fundProviderCode;
    /**
     * 是否为团单子订单
     */
    private String groupFlag;
    /**
     * 团车订单号，关联auto_group_order_info.group_order_no
     */
    private String groupOrderNo;
    /**
     * 是否有效，默认“Y”
     */
    private String validFlag;
    /**
     * 创建人
     */
    private String createdBy;
    /**
     * 创建时间
     */
    private Date createdDate;
    /**
     * 更新人
     */
    private String updatedBy;
    /**
     * 更新时间
     */
    private Date updatedDate;


    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getOrderNo() {
        return orderNo;
    }

    public void setOrderNo(String orderNo) {
        this.orderNo = orderNo;
    }

    public String getSourceCode() {
        return sourceCode;
    }

    public void setSourceCode(String sourceCode) {
        this.sourceCode = sourceCode;
    }

    public String getSourceOrderNo() {
        return sourceOrderNo;
    }

    public void setSourceOrderNo(String sourceOrderNo) {
        this.sourceOrderNo = sourceOrderNo;
    }

    public String getMajorProductCode() {
        return majorProductCode;
    }

    public void setMajorProductCode(String majorProductCode) {
        this.majorProductCode = majorProductCode;
    }

    public String getUserId() {
        return userId;
    }

    public void setUserId(String userId) {
        this.userId = userId;
    }

    public String getAgentId() {
        return agentId;
    }

    public void setAgentId(String agentId) {
        this.agentId = agentId;
    }

    public String getInsuranceCode() {
        return insuranceCode;
    }

    public void setInsuranceCode(String insuranceCode) {
        this.insuranceCode = insuranceCode;
    }

    public String getInsuranceBizNo() {
        return insuranceBizNo;
    }

    public void setInsuranceBizNo(String insuranceBizNo) {
        this.insuranceBizNo = insuranceBizNo;
    }

    public String getAutoId() {
        return autoId;
    }

    public void setAutoId(String autoId) {
        this.autoId = autoId;
    }

    public String getPlateNo() {
        return plateNo;
    }

    public void setPlateNo(String plateNo) {
        this.plateNo = plateNo;
    }

    public String getVin() {
        return vin;
    }

    public void setVin(String vin) {
        this.vin = vin;
    }

    public String getEngineNo() {
        return engineNo;
    }

    public void setEngineNo(String engineNo) {
        this.engineNo = engineNo;
    }

    public Long getVehiclePrince() {
        return vehiclePrince;
    }

    public void setVehiclePrince(Long vehiclePrince) {
        this.vehiclePrince = vehiclePrince;
    }

    public String getCityCode() {
        return cityCode;
    }

    public void setCityCode(String cityCode) {
        this.cityCode = cityCode;
    }

    public String getStatus() {
        return status;
    }

    public void setStatus(String status) {
        this.status = status;
    }

    public Date getOrderCreatedTime() {
        return orderCreatedTime;
    }

    public void setOrderCreatedTime(Date orderCreatedTime) {
        this.orderCreatedTime = orderCreatedTime;
    }

    public Date getOrderCommitTime() {
        return orderCommitTime;
    }

    public void setOrderCommitTime(Date orderCommitTime) {
        this.orderCommitTime = orderCommitTime;
    }

    public Long getTotalAmount() {
        return totalAmount;
    }

    public void setTotalAmount(Long totalAmount) {
        this.totalAmount = totalAmount;
    }

    public String getDivideFlag() {
        return divideFlag;
    }

    public void setDivideFlag(String divideFlag) {
        this.divideFlag = divideFlag;
    }

    public String getFundProviderCode() {
        return fundProviderCode;
    }

    public void setFundProviderCode(String fundProviderCode) {
        this.fundProviderCode = fundProviderCode;
    }

    public String getGroupFlag() {
        return groupFlag;
    }

    public void setGroupFlag(String groupFlag) {
        this.groupFlag = groupFlag;
    }

    public String getGroupOrderNo() {
        return groupOrderNo;
    }

    public void setGroupOrderNo(String groupOrderNo) {
        this.groupOrderNo = groupOrderNo;
    }

    public String getValidFlag() {
        return validFlag;
    }

    public void setValidFlag(String validFlag) {
        this.validFlag = validFlag;
    }

    public String getCreatedBy() {
        return createdBy;
    }

    public void setCreatedBy(String createdBy) {
        this.createdBy = createdBy;
    }

    public Date getCreatedDate() {
        return createdDate;
    }

    public void setCreatedDate(Date createdDate) {
        this.createdDate = createdDate;
    }

    public String getUpdatedBy() {
        return updatedBy;
    }

    public void setUpdatedBy(String updatedBy) {
        this.updatedBy = updatedBy;
    }

    public Date getUpdatedDate() {
        return updatedDate;
    }

    public void setUpdatedDate(Date updatedDate) {
        this.updatedDate = updatedDate;
    }

    @Override
    public String toString() {
        return "AutoOrderInfo{" +
        ", id=" + id +
        ", orderNo=" + orderNo +
        ", sourceCode=" + sourceCode +
        ", sourceOrderNo=" + sourceOrderNo +
        ", majorProductCode=" + majorProductCode +
        ", userId=" + userId +
        ", agentId=" + agentId +
        ", insuranceCode=" + insuranceCode +
        ", insuranceBizNo=" + insuranceBizNo +
        ", autoId=" + autoId +
        ", plateNo=" + plateNo +
        ", vin=" + vin +
        ", engineNo=" + engineNo +
        ", vehiclePrince=" + vehiclePrince +
        ", cityCode=" + cityCode +
        ", status=" + status +
        ", orderCreatedTime=" + orderCreatedTime +
        ", orderCommitTime=" + orderCommitTime +
        ", totalAmount=" + totalAmount +
        ", divideFlag=" + divideFlag +
        ", fundProviderCode=" + fundProviderCode +
        ", groupFlag=" + groupFlag +
        ", groupOrderNo=" + groupOrderNo +
        ", validFlag=" + validFlag +
        ", createdBy=" + createdBy +
        ", createdDate=" + createdDate +
        ", updatedBy=" + updatedBy +
        ", updatedDate=" + updatedDate +
        "}";
    }
}
